Release 10.1A: OpenEdge Development:
Web Services


Accessing a session-free Web service

Because the AppObject for a session-free Web service maintains no connection to the Web service, you can call the methods of a session-free AppObject with no preparation. When the WSA instance receives such a method request, it simply locates an available AppServer connection in the connection pool for that Web service and invokes the corresponding procedure or function on the corresponding AppServer.

Note: All AppServers that participate in the connection pool for a session-free Web service are assumed to share the same version and capabilities and have access to the same set of databases and other shareable resources on a network. For more information, see OpenEdge Application Server: Developing AppServer Applications .

To use a session-free Web service:

  1. Instantiate (create) the AppObject as appropriate for the client platform:
  2. VB.NET client code to instantiate session-free AppObject, OrderInfo
    webService = New OrderSvc.OrderInfoObj( ) 
    

  3. Invoke any available methods on the AppObject, as required.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095